﻿// Copyright (c)  MOKEYISH. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

using System.Collections.Generic;

namespace NSQL.LogicalResource
{
    public interface ILogicalTable
    {
        ILogicalDatabase Database { get; }
        ILogicalSchema Schema { get; }
        
        int Id { get; }
        string Name { get; }
        string Expr { get; }
        
        IReadOnlyList<ILogicalColumn> Columns { get; }

        void Add(ILogicalColumn column);
    }
}